Draw Shapes

Drawing shapes is an extension of Unity's Debug.DrawLine().

Drawing shapes is a great help for debugging information in both the Editor Window and Play Window (requires Gizmos enabled).

Because the shapes are using Debug.DrawLine() the color and duration of all shapes can be specified for each individual shape.

Methods:

  DrawArea
  DrawBoundingBox
  DrawCube
  DrawCircle
  DrawSphere